#include "StdAfx.h"
#include "MainRealDlg.h"
#include "WceUiDlg.h"
#include "WceUiLayerCtrl.h"

CMainRealDlg::CMainRealDlg(void)
{
}

CMainRealDlg::~CMainRealDlg(void)
{
}

void CMainRealDlg::OnInitDialog()
{
	CWceUiDlg* pDlg = GetLayerCtrl()->CreateDlg(L"CMainDlg");
	ASSERT(NULL != pDlg);
	pDlg->DoModal();
	GetLayerCtrl()->DeleteLayer(pDlg);
	EndDialog(0);
}
